import request from "@/utils/http/axios";

class AuthAPI {
    static Login(data){
        return request({
            url: "/auth/login",
            data: data,
            method: "post",
            headers: {
                "Content-Type": "multipart/form-data"
            }
        })
    }

    static logout(){
        return request({
            url: "/auth/logout",
            method: "get"
        })
    }
}

export default AuthAPI;
